
<!DOCTYPE html>
<html>
<head>


<meta content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
<meta content="text/html; charset=UTF-8" http-equiv="content-type" />


<!-- head 中 -->
<link rel="stylesheet" href="dist/lib/weui.css">
<link rel="stylesheet" href="dist/css/jquery-weui.css">

<!-- body 最后 -->
<script src="dist/lib/jquery-2.1.4.js"></script>
<script src="dist/js/jquery-weui.js"></script>

<title>demo</title>
<style type="text/css">
</style>

</head>

<body>
<div>
	<h1 onclick="">callSum1</h1>
	<input type="text" id="input" value="" onfocusout="evalxxxx(this)" />
</div>
<script type="text/javascript">
function evalxxxx(ethis){
	var val = ethis.value;
	console.log("val:"+val);
	if (typeof val == 'string') {
		return eval(val);
	};
	return -1;
}
</script>
</body>

</html>